package com.health.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.health.demo.common.vo.Result;
import com.health.demo.common.vo.Search;
import com.health.demo.entity.Drug;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 洛璃依
 * @since 2022-12-07 01:57:02
 */
public interface DrugService extends IService<Drug> {

    Result<Drug> addDrug(Drug drug);
    Result<Drug> deleteDrug(Integer drugId);
    Result<Drug> updateDrug(Drug drug);
    Drug selectDrugById(Integer drugId);
    Page<Drug> selectDrugPage(Search search);
}
